<tagLib name='html'/>
<div class='pageHeader'>
    <form action='__URL__/lookup' method='post' id='pagerForm' onsubmit='return dialogSearch(this, "dialog");'>
        <div class='searchBar'>
            <ul>
                <li><label>公司ID</label> <input type='text' name='company_id' value='{$int_company_id}' /></li>
                <li><label>公司名称</label> <input type='text' name='company_name' value='{$str_company_name}' /></li>
                <li><label>状态</label> <html:select options='arr_status' selected='int_status' first='{$str_select_first_txt}' name='status' style='combox' /></li>
            </ul>

            <include file='$str_search_bar_lookup_html' />
        </div>

        <include file='$str_page_search_html' />
    </form>
</div>

<div class='pageContent'>
    <div class='panelBar'>
        <ul class='toolBar'>
            <li class='line'>line</li>
        </ul>
    </div>
    <table class='table' width='100%' layoutH='138'>
        <thead>
            <tr>
                <th width='22'><input type='checkbox' group='lookup' class='checkboxCtrl'></th>
                <th width='80'>公司ID</th>
                <th width='400'>公司名称</th>
                <th width='350'>备注</th>
                <th width='50'>操作者</th>
                <th width='50'>状态</th>
                <th width='100'>创建时间</th>
                <th width='100'>更新时间</th>
                <th width='80'>查找带回</th>
            </tr>
        </thead>
        <tbody>
        <foreach name='arr_info' item='sub'>
            <tr target='id' rel='{$sub.company_id}'>
                <td><input type='checkbox' name='lookup' value="{ company_id:'{$sub.company_id}', company_name:'{$sub.company_name}'}" /></td>
                <td>{$sub.company_id}</td>
                <td>{$sub.company_name}</td>
                <td>{$sub.remark}</td>
                <td>{$sub.user_id|get_user_name}</td>
                <td>{$sub.status|get_status_txt}</td>
                <td>{$sub.create_time|get_date}</td>
                <td>{$sub.update_time|get_date}</td>
                <td><a href="javascript:$.bringBack({ company_id:'{$sub.company_id}', company_name:'{$sub.company_name}'})" class='btnSelect'>选择</a></td>
            </tr>
        </foreach>
        </tbody>
    </table>

    <include file='$str_page_lookup_html' />
</div>